package com.slwish.xty.adapter;

import android.view.View;
import android.widget.ImageView;

import com.slwish.xty.R;

import cn.sharesdk.framework.TitleLayout;
import cn.sharesdk.framework.authorize.AuthorizeAdapter;

/**
 * 模块说明：
 *
 * @author 陈浩
 * @date 2017/12/26
 */
public class MyAuthPageAdapter extends AuthorizeAdapter {
    @Override
    public void onCreate() {
        super.onCreate();
        hideShareSDKLogo();
        TitleLayout llTitle = getTitleLayout();
        ImageView btnBack = llTitle.getBtnBack();
        btnBack.setImageResource(R.mipmap.icon_white_back);
        llTitle.getChildAt(1).setVisibility(View.GONE);
    }
}
